package com.jozen.smart_toilet_system.web_socket;

public class ChangeIpModel {

    private Eth0DTO eth0;
    private Eth1DTO eth1;

    public Eth0DTO getEth0() {
        return eth0;
    }

    public void setEth0(Eth0DTO eth0) {
        this.eth0 = eth0;
    }

    public Eth1DTO getEth1() {
        return eth1;
    }

    public void setEth1(Eth1DTO eth1) {
        this.eth1 = eth1;
    }

    public static class Eth0DTO {
        private boolean dhcp;
        private String ip;
        private String mask;
        private String gateway;
        private String dns1;
        private String dns2;
        private int prefix;

        public String getDns2() {
            return dns2;
        }

        public void setDns2(String dns2) {
            this.dns2 = dns2;
        }

        public int getPrefix() {
            return prefix;
        }

        public void setPrefix(int prefix) {
            this.prefix = prefix;
        }

        public boolean isDhcp() {
            return dhcp;
        }

        public void setDhcp(boolean dhcp) {
            this.dhcp = dhcp;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getMask() {
            return mask;
        }

        public void setMask(String mask) {
            this.mask = mask;
        }

        public String getGateway() {
            return gateway;
        }

        public void setGateway(String gateway) {
            this.gateway = gateway;
        }

        public String getDns1() {
            return dns1;
        }

        public void setDns1(String dns1) {
            this.dns1 = dns1;
        }
    }

    public static class Eth1DTO {
        private boolean dhcp;
        private String ip;
        private String mask;
        private String gateway;
        private String dns1;
        private String dns2;
        private int prefix;

        public String getDns2() {
            return dns2;
        }

        public void setDns2(String dns2) {
            this.dns2 = dns2;
        }

        public int getPrefix() {
            return prefix;
        }

        public void setPrefix(int prefix) {
            this.prefix = prefix;
        }

        public boolean isDhcp() {
            return dhcp;
        }

        public void setDhcp(boolean dhcp) {
            this.dhcp = dhcp;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getMask() {
            return mask;
        }

        public void setMask(String mask) {
            this.mask = mask;
        }

        public String getGateway() {
            return gateway;
        }

        public void setGateway(String gateway) {
            this.gateway = gateway;
        }

        public String getDns1() {
            return dns1;
        }

        public void setDns1(String dns1) {
            this.dns1 = dns1;
        }
    }
}
